package com.lry.registy;

import com.lry.spi.EnhancedServiceLoader;


public class RegistryFactory {

    public static AbstractRegister getRegistry(String registryType, String address) {
        return EnhancedServiceLoader.load(AbstractRegister.class, registryType,new Object[]{address});
    }
}
